<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	{js:jquery}
	<link href="{webroot:public/css/twitter-bootstrap/3.3.7/css/bootstrap.min.css}" rel="stylesheet">
</head>

<body>
<div class="container">
	<table class="table table-bordered">
		<colgroup>
			<col />
			<col width="300px" />
			<col width="300px" />
			<col width="250px" />
		</colgroup>

		<thead>
			<tr>
				<th>主播名</th>
				<th>头像</th>
				<th>关注时间</th>
				<th>操作</th>
			</tr>
		</thead>
		{if:count($follows) > 0}
		<tbody>
			{foreach:items = $follows}
			<tr>
				<td>{$item['seller_name']}</td>
				<td><img src="{$item['logo']}" width="50" height="50"></td>
				<td>{$item['create_time']}</td>
				<td>
					<button type="button" class="btn btn-danger" onclick="window.location.href='{url:/ucenter/live_follow_cancel/seller_id/$item['id']/status/0}';">取消关注</button>
					{if:$item['liveing'] == 1}
					<button type="button" class="btn btn-info" onclick="window.parent.location.href='{url:/site/live_show/seller_id/$item['id']}';">直播中</button>
					{/if}
				</td>
			</tr>
			{/foreach}
		</tbody>
		{else:}
		<tfoot>
		<tr>
			<th colspan="4">
				对不起，没有找到数据
			</th>
		</tr>
		</tfoot>
		{/if}
	</table>
	{$follows->getPageBar()}
</div>
</body>
</html>